<template>
	<view class="serve">
		<view class="ad">
			<view class="ad-left">
				<h4>{{title}}</h4>
				<text>{{content}}</text>
			</view>
			<view class="ad-right">
				<image :src="imgsrc" mode=""></image>
			</view>
		</view>
		<view class="frequent-use">
			<view class="use-title">
				<view></view>
				<text>常用服务</text>
			</view>
			<view class="use-content">
				<navigator url="../phoneDooe/phoneDooe" hover-class="navigator-hover">
					<view class="content-item">
						<text class="iconfont icon-shoujikaimen"></text>
						<text class="des">手机开门</text>
					</view>
				</navigator>
				<navigator url="../Living/livingpay/livingPayment" hover-class="navigator-hover">
					<view class="content-item">
						<text class="iconfont icon-shenghuojiaofei"></text>
						<text class="des">生活缴费</text>
					</view>
				</navigator>
				<navigator url="../visitorInvitation/visitorInvitation" hover-class="navigator-hover">
					<view class="content-item">
						<text class="iconfont icon-fangke"></text>
						<text class="des">邀请访客</text>
					</view>
				</navigator>
				<navigator url="../parkingPayment/parkingPayment" hover-class="navigator-hover">
					<view class="content-item">
						<text class="iconfont icon-tingchejiaofei"></text>
						<text class="des">停车缴费</text>
					</view>
				</navigator>
			</view>
		</view>
		<view class="frequent-use" style="margin-bottom: 0px;">
			<view class="use-title">
				<view></view>
				<text>智慧社区</text>
			</view>
			<view class="use-content">
				<navigator url="../maintenancereport/maintenancereport/maintenancereport" hover-class="navigator-hover">
					<view class="content-item">
						<text class="iconfont icon-weixiu"></text>
						<text class="des">维修上报</text>
					</view>
				</navigator>
				<navigator url="../ComplaintAndAdvice/ComplaintAndAdvice" hover-class="navigator-hover">
					<view class="content-item">
						<text class="iconfont icon-tousujianyi"></text>
						<text class="des">投诉建议</text>
					</view>
				</navigator>
				<navigator url="../comActivities/comActivities" hover-class="navigator-hover">
					<view class="content-item">
						<text class="iconfont icon-shequhuodong"></text>
						<text class="des">社区活动</text>
					</view>
				</navigator>
				<navigator url="../Announcement/Announcement" hover-class="navigator-hover">
					<view class="content-item">
						<text class="iconfont icon-gonggao"></text>
						<text class="des">公告公示</text>
					</view>
				</navigator>
				<navigator url="../HouseRental/HouseRental" hover-class="navigator-hover">
					<view class="content-item">
						<text class="iconfont icon-fangwuzulin"></text>
						<text class="des">房屋租赁</text>
					</view>
				</navigator>
				<navigator url="../ContactProperty/ContactProperty" hover-class="navigator-hover">
					<view class="content-item">
						<text class="iconfont icon-wuye"></text>
						<text class="des">联系物业</text>
					</view>
				</navigator>
			</view>
		</view>
	</view>
</template>

<script>
	import {http} from "../../utils/http.js"
	export default {
		data() {
			return {
				title: 'Hello',
				content: "广告简介广告简介",
				imgsrc: "../../static/logo.png"
			}
		},
		onLoad(option) {
			// http({
			// 	url: "",
			// 	method: "",
			// 	data: ""
			// }).then((res) => {
			// 	console.log(res)
			// })
		},
		methods: {

		},

	}
</script>

<style lang="less">
	@import url('../../static/font/iconfont.css');

	.serve {
		// width: 759rpx;
		padding: 40rpx;

		.ad {
			padding: 0 38rpx;
			margin-bottom: 42rpx;
			height: 200rpx;
			background-color: #e5f1ff;
			border-radius: 20rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			box-shadow: 0px 0px 15rpx rgba(0, 0, 0, .2);

			.ad-left {
				display: flex;
				flex-direction: column;

				h4 {
					font-size: 34rpx;
					color: #234fb2;
					margin-bottom: 28rpx;
				}

				text {
					font-size: 24rpx;
					color: #234fb2;

				}
			}

			.ad-right {
				image {
					width: 128rpx;
					height: 128rpx;
					border-radius: 64rpx;
				}
			}
		}

		.frequent-use {
			padding-top: 48rpx;
			display: flex;
			flex-direction: column;
			align-items: flex-start;
			border-radius: 20rpx;
			margin-bottom: 42rpx;
			box-shadow: 0px 0px 15rpx rgba(0, 0, 0, .2);

			.use-title {
				padding: 0 30rpx;
				display: flex;
				margin-bottom: 40rpx;
				align-items: center;

				view {
					width: 16rpx;
					height: 34rpx;
					background-color: #056cff;
					border-radius: 8rpx;
				}

				text {
					margin-left: 20rpx;
					font-size: 32rpx;

				}
			}

			.use-content {
				display: flex;
				align-items: center;
				flex-wrap: wrap;

				.content-item {
					display: flex;
					flex-direction: column;
					align-items: center;
					margin: 0 30rpx 54rpx 30rpx;

					.iconfont {
						font-size: 46rpx;
						font-weight: 500;
						margin-bottom: 22rpx;
					}

					.des {
						font-size: 26rpx;
						color: #3c2e3c;
					}
				}
			}
		}
	}
</style>
